.app-order {
    width: 100vw;
    height: calc(100vh - 120rpx);
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;

    .order-header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 30rpx;
        padding-top: 7rpx;
        background-color: white;
        gap: 30rpx;

        .input-wrapper {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30rpx;

            .input-container {
                display: flex;
                align-items: center;
                width: 606rpx;
                height: 54rpx;
                background: #F2F2F2;
                border-radius: 59rpx;
                box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.1);
                box-sizing: border-box;
                padding: 0 30rpx;

                >input {
                    width: 100%;
                    box-sizing: border-box;
                    padding: 0 10rpx;
                    font-size: 26rpx;
                    line-height: 64rpx;
                }
            }

            >text {
                font-size: 26rpx;
                color: #333333;
                line-height: 64rpx;
            }
        }

        .type-wrapper {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #333333;
            font-size: 26rpx;

            .type-item-active {
                position: relative;
                color: #FF7F36;

                &::after {
                    content: '';
                    position: absolute;
                    bottom: -10rpx;
                    left: 0;
                    width: 100%;
                    height: 4rpx;
                    background-color: #FF7F36;
                    border-radius: 2rpx;
                }
            }
        }
    }

    .order-list {
        width: 100%;
        box-sizing: border-box;
        padding: 30rpx;
        display: flex;
        flex-direction: column;
        gap: 30rpx;
        overflow-y: scroll;

        .order-item {
            width: 100%;
            background-color: white;
            border-radius: 6rpx;
            box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.16);
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
            padding: 30rpx;
            flex-shrink: 0;

            .order-title {
                color: #FF7F36;
                font-weight: bold;
                font-size: 30rpx;
                margin-bottom: 30rpx;
            }

            .order-status {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: space-between;

                >text {
                    color: #333333;
                    font-size: 24rpx;

                    &:last-child {
                        color: #FF7F36;
                    }
                }
            }

            .order-detail {
                width: 100%;
                box-sizing: border-box;
                padding: 30rpx 0;
                display: flex;
                align-items: center;
                gap: 20rpx;
                border-top: 2rpx solid #33333315;
                border-bottom: 2rpx solid #33333315;

                >image {
                    width: 164rpx;
                    height: 164rpx;
                    border-radius: 16rpx;
                }

                .order-content {
                    width: calc(100% - 20rpx - 164rpx);
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    >view {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        >text {
                            color: #333333;
                            font-weight: 500;
                            font-size: 30rpx;
                        }
                    }

                    >text {
                        color: $color-gray;
                        font-weight: 400;
                        font-size: 26rpx;
                        box-sizing: border-box;
                        padding: 7rpx;
                        background-color: #FAFAFA;
                        align-self: flex-start;
                    }
                }
            }

            .order-price {
                width: 100%;
                display: flex;
                align-items: center;
                gap: 60rpx;
                margin-top: 15rpx;

                >view {
                    display: flex;
                    align-items: center;

                    >text {
                        color: #333333;
                        font-size: 24rpx;

                        &:last-child {
                            color: #F54730;
                        }
                    }
                }
            }

            .order-footer {
                width: 100%;
                display: flex;
                align-items: flex-end;
                justify-content: space-between;

                >text {
                    color: $color-gray;
                    font-size: 24rpx;
                    text-decoration-line: underline;
                }

                .order-button {
                    width: 138rpx;
                    height: 60rpx;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 2rpx solid #FF7F36;
                    border-radius: 37rpx;

                    >text {
                        color: #FF7F36;
                        font-size: 24rpx;
                    }
                }
            }
        }
    }
}